package com.yimils.core.sys.dto;

import com.yimils.core.sys.entity.PartnerAgentEntity;
import com.yimils.core.sys.entity.UserRppEntity;
import lombok.Data;

import java.util.List;

@Data
public class ReqAddUser {
    private Long superiorId;//所属用户id
    private String username;
    private String nickname;
    private String password;
    private String mobile;
    private Integer gender = 2;
    private Long roleId;
    private String email;
    private String inviteCode;
    private String hotelName;//酒店名称
    private String hotelAddr;//酒店地址
    private Integer type;//用户角色类型
    List<UserRppEntity> rpp;//用户分润参数（一对多）
    List<PartnerAgentEntity> pa;//合伙人代理（一对多）
}
